package com.df.library.uitls;

import io.netty.channel.ChannelHandler;

import java.lang.annotation.Annotation;

public class ClassUtils {
    public static boolean isShareable(Class clazz){
        Annotation annotation = clazz.getAnnotation(ChannelHandler.Sharable.class);
        if(annotation==null){
            return false;
        }
        return true;
    }
}
